package com.mywang.weitravel.modules.read;

import com.mywang.weitravel.base.BaseContract;
import com.mywang.weitravel.model.ReadDetailBean;
import com.mywang.weitravel.modules.ReadTypeBean;

import java.util.List;

/**
 * Created by wangmingyun on 2019/12/11.
 */
public interface ReadChinaContract {
    interface View extends BaseContract.IView {
        void onSuccess(List<ReadTypeBean> list);

        void onDetailSuccess(List<ReadDetailBean> list);
    }

    interface Presenter extends BaseContract.IPresenter<ReadChinaContract.View> {
        void getData();

        void getDetail(String id);
    }
}
